<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <title>HiMall</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" th:href="@{/static/favicon.ico}">

    <link th:href="@{/static/bootstrap/css/bootstrap.min.css}" rel="stylesheet">
    <script th:src="@{/static/bootstrap/js/bootstrap.min.js}"></script>

    <link th:href="@{/static/css/index.css}" rel="stylesheet">
</head>
<body>


<div class="container">
    <div class="header clearfix">
        <nav>
            <ul class="nav nav-pills pull-right">
                <li role="presentation" class="active"><a th:href="@{/}">Home</a></li>
                <li role="presentation" th:if="${session.isAuth!=null ? session.isAuth : false}"><a th:href="@{/profile}">Profile</a></li>
                <li role="presentation" th:if="${session.isAuth!=null ? !session.isAuth : true}"><a th:href="@{/signin}">Login</a></li>
                <li role="presentation" th:if="${session.isAuth!=null ? session.isAuth : false}"><a th:href="@{/logout}">Logout</a></li>
            </ul>
        </nav>
        <h3 class="text-muted">HIMALL</h3>
    </div>

    <div class="jumbotron">
        <h1>HiMall Example</h1>
        <p class="lead">This example is a quick exercise to illustrate how Integrate HiAuth by Oauth2, an integrated instance of microservices is also included here, so you can find some best practices.</p>
        <p><a class="btn btn-lg btn-success" href="https://github.com/bestaone/HiAuth" role="button">View HiMall docs</a></p>
    </div>

    <div class="row marketing">
        <div class="col-lg-6"></div>
        <div class="col-lg-6"></div>
    </div>

    <footer class="footer">
        <p>&copy; HiMall system for hiauth.com, by @earven.</p>
    </footer>

</div>

</body>
</html>
